package com.huixi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author auto generator
 * @since 2019-05-27
 */
@Data
@TableName("tb_content")
public class Content implements Serializable {

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;
    /**
     * 内容类目ID
     */
    @TableField("category_id")
    private Long categoryId;
    /**
     * 内容标题
     */
    @TableField("title")
    private String title;
    /**
     * 子标题
     */
    @TableField("sub_title")
    private String subTitle;
    /**
     * 标题描述
     */
    @TableField("title_desc")
    private String titleDesc;
    /**
     * 链接
     */
    @TableField("url")
    private String url;
    /**
     * 图片绝对路径
     */
    @TableField("pic")
    private String pic;
    /**
     * 图片2
     */
    @TableField("pic2")
    private String pic2;
    /**
     * 内容
     */
    @TableField("content")
    private String content;

    @TableField("created")
    private Date created;

    @TableField("updated")
    private Date updated;

}
